import { createApp } from 'vue';
import Antd from 'ant-design-vue';
import './assets/main.css'
import JsonViewer from 'vue3-json-viewer';
import 'vue3-json-viewer/dist/index.css';
import App from './App.vue';
import i18n from '/@/i18n/index';
import { router } from '/@/router';
import { store } from '/@/store';
import 'ant-design-vue/dist/reset.css';
import 'vue3-tabs-chrome/dist/vue3-tabs-chrome.css';
import '/@/theme/index.less';
import SvgLoad from '/@/components/SvgLoad/SvgLoad.vue';
import './assets/main.css'
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import DataV from "@jiaminghi/data-view";
import '/src/assets/font-awesome-4.7.0/css/fonts.css';

function initVue() {
  let vueApp = createApp(App);
  let app = vueApp.use(router).use(store).use(i18n).use(Antd).use(JsonViewer).use(DataV).use(ElementPlus,{ locale: zhCn });
  app.component('svg-load', SvgLoad);

  //挂载
  app.mount('#app');
}

initVue();